package org.fing.edu.uy.esbadp.core.constants;

public class ConfigConstants {
	
	//Configuration JMX Adptative ESB
	public static final String JMXEsbAdpURL = "jmx.service.url.esbadp";
	
	//expiration time property
	public final static String STRATEGY_EXPIRATION_TIME = "motor.time.expiration.strategy";
	
	//flag para setear a los arboles en caso de que se quiere conservar el historico de arboles procesados
	public final static String HISTORIC_ENABLE = "motor.historic.flag";
	
	//Configuration XML Files
	public final static String EVENTS_ROOT_ELEMENT = "jboss-adaptative-events";
	public final static String EVENTS_ELEMENT = "event";
	public final static String EVENTS_UNMET_SERVICE_REQUERIMENTS = "unmet-service-requirements";
	public final static String EVENTS_DEF_PATH = System.getProperty("jboss.server.config.url") + EVENTS_ROOT_ELEMENT + ".xml";
	
	public final static String ADAPTATION_REQUIREMENTS_ROOT_ELEMENT = "jboss-adaptative-adaptation-requirements";
	public final static String ADAPTATION_REQUIREMENTS_ELEMENT = "requirement";
	public final static String ADAPTATION_REQUIREMENTS_DEF_PATH = System.getProperty("jboss.server.config.url") + ADAPTATION_REQUIREMENTS_ROOT_ELEMENT + ".xml";
	
	public final static String STRATEGIES_ROOT_ELEMENT = "jboss-adaptative-strategies";
	public final static String STRATEGIES_ELEMENT = "strategy";
	public final static String STRATEGIES_SUPPORTED_STRATEGIES = "supported-requirements";
	public final static String STRATEGIES_DEF_PATH = System.getProperty("jboss.server.config.url") + STRATEGIES_ROOT_ELEMENT + ".xml";
	
}
